import React from 'react';
import { HashRouter, Routes, Route } from 'react-router-dom';
import ArticleList from './pages/article/List';
import Home from './pages/Home';
import NotFound from './pages/404';

export default () => {
    return (
        <HashRouter>
            <Routes>
                <Route path="/articles" element={<ArticleList/>}/>
                <Route path="/" element={<Home/>}/>
                <Route path="*" element={<NotFound/>}/>
            </Routes>
        </HashRouter>
    )
}